﻿using System;
using System.Collections.Generic;
//using System.Linq;
using System.Text;
using System.Windows;
using System.Diagnostics;
using System.IO;
using System.Xml;

using System.Xml.Serialization;

namespace AI
{
    
    public class Point
    {


        public int _index;

        public int Index { get { return _index; } set { _index = value; } }

        public double Range
        {
            get
            {
                return _Range;
            }
            set
            {
                _Range = value;
            }
        }

        public bool bShift
        {
            get
            {
                return _bShift;
            }
            set
            {
                _bShift = value;
            }
        }


        public bool _bShift = true;


        public bool CheckLight
        {
            get
            {
                return _bCheckLight;
            }
            set
            {
                _bCheckLight = value;
            }
        }
        private bool _bCheckLight = false;


        /// <summary>
        /// 도착지점 영역범위
        /// </summary>
        private double _Range;


        public bool Signal { get; set; }
        public bool _Signal = false;

        //public Vector _P;

        //public Vector P
        //{
        //    get { return _P; }
        //    set { _P = value; }
        //}

        public Vector _GPSPos;

        public Vector GPSPos
        {
            get { return _GPSPos; }
            set { _GPSPos = value; }
        }

        public override string ToString()
        {
            return _index.ToString() + " : " + _GPSPos.ToString();
        }

        public bool bFixGPSPos { get { return _bFixGPSPos; } set { _bFixGPSPos = value; } }
        bool _bFixGPSPos;


        //public Vector GetGPSPos()
        //{
        //    if (_bFixGPSPos)
        //        return GPSPos;
        //    return RateInfo.I.BMP2GPS(_P.X, _P.Y);
        //}
    }
}
